<template>
  <div>
    <h2>学生列表</h2>

  </div>
</template>

<script lang="ts" setup>
import { onMounted } from 'vue';
import { getStudentApi } from '@/api/request.js'


onMounted(async () => {
  // 调用接口获取数据
  let res = await getStudentApi({ limit: 10, skip: 1 })
  console.log(res.data)
})


</script>

<style lang="scss" scoped></style>